package com.muyu.system.mapper;

import java.util.List;
import com.muyu.system.domain.DanmoShoppingSubcategory;

/**
 * 商品子分类Mapper接口
 * 
 * @author yangle
 * @date 2024-09-26
 */
public interface DanmoShoppingSubcategoryMapper 
{
    /**
     * 查询商品子分类
     * 
     * @param id 商品子分类主键
     * @return 商品子分类
     */
    public DanmoShoppingSubcategory selectDanmoShoppingSubcategoryById(Long id);

    /**
     * 查询商品子分类列表
     * 
     * @param danmoShoppingSubcategory 商品子分类
     * @return 商品子分类集合
     */
    public List<DanmoShoppingSubcategory> selectDanmoShoppingSubcategoryList(DanmoShoppingSubcategory danmoShoppingSubcategory);

    /**
     * 新增商品子分类
     * 
     * @param danmoShoppingSubcategory 商品子分类
     * @return 结果
     */
    public int insertDanmoShoppingSubcategory(DanmoShoppingSubcategory danmoShoppingSubcategory);

    /**
     * 修改商品子分类
     * 
     * @param danmoShoppingSubcategory 商品子分类
     * @return 结果
     */
    public int updateDanmoShoppingSubcategory(DanmoShoppingSubcategory danmoShoppingSubcategory);

    /**
     * 删除商品子分类
     * 
     * @param id 商品子分类主键
     * @return 结果
     */
    public int deleteDanmoShoppingSubcategoryById(Long id);

    /**
     * 批量删除商品子分类
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteDanmoShoppingSubcategoryByIds(Long[] ids);
}
